package cn.netjava.pojo;

public class Blog {
	private int id;
	private int user_id;
	private String title;
	private String content;
	private String create_date;
	
	/**
	 * @param id
	 * @param user_id
	 * @param title
	 * @param content
	 * @param create_date
	 */
	public Blog(int id, int user_id, String title, String content,
			String create_date) {
		super();
		this.id = id;
		this.user_id = user_id;
		this.title = title;
		this.content = content;
		this.create_date = create_date;
	}
	
	
	/**
	 * @param user_id
	 * @param title
	 * @param content
	 * @param create_date
	 */
	public Blog(int user_id, String title, String content) {
		super();
		this.user_id = user_id;
		this.title = title;
		this.content = content;
		this.create_date = create_date;
	}

	
	/**
	 * @param id
	 * @param user_id
	 * @param title
	 * @param create_date
	 */
	public Blog(int id, int user_id, String title, String create_date) {
		super();
		this.id = id;
		this.user_id = user_id;
		this.title = title;
		this.create_date = create_date;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}
	
	
}
